#ifndef GASCONTOROLPORT_H
#define GASCONTOROLPORT_H

#include <QWidget>
#include <QTimer>

namespace Ui {
class gasContorolPort;
}

class gasContorolPort : public QWidget
{
    Q_OBJECT

public:
    explicit gasContorolPort(QWidget *parent = nullptr);
    ~gasContorolPort();

private slots:
    void on_pushButton_connect_clicked();

    void on_pushButton_disconnect_clicked();

private:
    Ui::gasContorolPort *ui;
    QTimer *timer = new QTimer;
signals:
    void gasValue(float);
    void connectIP(QString IP,bool flag);

};

#endif // GASCONTOROLPORT_H
